package com.centersoft.flowable.db.task.entity;

import com.centersoft.parent.base.annotation.QueryFieldConfig;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 任务额外配置主类
 *
 * @author wangzhiqiang
 * @since 2025/3/12 10:55
 */
@Data
@Entity
@Table(name = "act_extension_taskdef")
public class TaskDefExtensionEntity {
    @Id
    private String id;
    /**
     * 流程定义id
     */
    @QueryFieldConfig(field = "processDefId")
    private String processDefId;
    /**
     * 任务定义id
     */
    @QueryFieldConfig(field = "taskDefId")
    private String taskDefId;
}
